package com.dongdongshop.service;

import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbOrderItem;
import com.dongdongshop.vo.TbAddressVo;
import java.math.BigDecimal;
import java.util.List;

public interface TbOrderItemService {

    //将订单从redis删除,平且存入数据库
    String add(TbAddressVo vo, List<TbOrderItem> list, BigDecimal payment, String userid, Long id);

    //修改订单状态
    void updatezhuangtai(String out_trade_no,String trade_no);

    //获取代发货数据
    List<TbOrder> showOrder();

    //退款成功
    void updatatuikuan(String out_biz_no);
}
